import * as React from 'react';
import MainHeader from "src/components/mainHeader/mainHeader"

import Index from "src/pages/main/Index/Index";
import { Switch,Route } from 'react-router-dom';
import RouteGuard from "src/RouteGuard";
import BokeHome from "src/pages/self/home/Home";

import "./Home.scss";

class Home extends React.Component<any>{
  public componentDidMount(){
    console.log(this.props);
  }
  public render() {
    return (
      <div className="_Home">
         <MainHeader />
         <div className="section base-container">
          <Switch>
           <RouteGuard path="/" exact={true} component={Index} />
           <Route path="/self/boke/center"  component={BokeHome} />
          </Switch>
         </div>
      </div>
    );
  }
}

export default Home;
